<template>
    <view class="search_no">
        <image class="no_img" :src="icon" />
        <view class="no_title"> {{ mode }} </view>
    </view>
</template>

<script setup>
import { getImgOssUrl } from '@/commons/utils.js';
defineProps({
    mode: { type: String, default: '' },
    icon: { type: String, default: getImgOssUrl('/ui-prod-2.0.0/nodata_1.1.png') }
});
</script>

<style lang="scss" scoped>
.search_no {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    .no_img {
        width: 278rpx;
        height: 160rpx;
        margin: 312rpx 0 24rpx 0;
    }
    .no_title {
        color: #333333;
        font-size: 24rpx;
        font-weight: 400;
        line-height: 34rpx;
    }
}
</style>
